package net.maku.association.service;

import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.association.vo.InterestAssociationVO;
import net.maku.association.query.InterestAssociationQuery;
import net.maku.association.entity.InterestAssociationEntity;

import java.util.List;

/**
 * 兴趣协会
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-04-26
 */
public interface InterestAssociationService extends BaseService<InterestAssociationEntity> {

    PageResult<InterestAssociationVO> page(InterestAssociationQuery query,Long userId);

    void save(InterestAssociationVO vo);

    void update(InterestAssociationVO vo);

    void delete(List<Long> idList);

    InterestAssociationVO selectById(Long id,Long userId);
}